package cn.net.withub.dataCollector.common.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Created by yuanjie on 2018/4/27.
 */
@Entity
@Table(name = "t_collector_log" )
public class TCollectorLog {
    private String id;
    private Integer configId;
    private String ip;
    private String moduleName;
    private String fydm;
    private String fymc;
    private String title;
    private Date fbsj;
    private Integer zt;
    private String firstUrl;
    private String tqUrl;
    private Date sysTime;

    @Id
    @Column(name = "ID",nullable = false,unique = true)
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "CONFIGID")
    public Integer getConfigId() {
        return configId;
    }

    public void setConfigId(Integer configId) {
        this.configId = configId;
    }

    @Column(name = "IP")
    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    @Column(name = "MODULENAME")
    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    @Column(name = "FYDM")
    public String getFydm() {
        return fydm;
    }

    public void setFydm(String fydm) {
        this.fydm = fydm;
    }

    @Column(name = "FYMC")
    public String getFymc() {
        return fymc;
    }

    public void setFymc(String fymc) {
        this.fymc = fymc;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "FBSJ")
    public Date getFbsj() {
        return fbsj;
    }

    public void setFbsj(Date fbsj) {
        this.fbsj = fbsj;
    }

    @Column(name = "TITLE")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Column(name = "ZT")
    public Integer getZt() {
        return zt;
    }

    public void setZt(Integer zt) {
        this.zt = zt;
    }

    public String getFirstUrl() {
        return firstUrl;
    }

    public void setFirstUrl(String firstUrl) {
        this.firstUrl = firstUrl;
    }

    @Column(name = "TQURL")
    public String getTqUrl() {
        return tqUrl;
    }

    public void setTqUrl(String tqUrl) {
        this.tqUrl = tqUrl;
    }

    @Column(name = "SYS_TIME")
    public Date getSysTime() {
        return sysTime;
    }

    public void setSysTime(Date sysTime) {
        this.sysTime = sysTime;
    }
}
